home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol E-12
/
Vol E-12.iso
/
games
/
barbie
/
barbi000.swf
/
scripts
/
frame_3
/
PlaceObject2_112_32
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2012-05-21
|
765b
|
34 lines
onClipEvent(load){
function begin()
{
setProperty(this, _alpha, "0");
i = 1;
while(_root.rows >= i)
{
k = 1;
while(_root.cols >= k)
{
if(_root.grid[i][k] == 9)
{
_root.startrow = i;
_root.startcol = k;
_root.oldrows = i;
_root.oldcols = k;
_root.newpos = _root.cols * i + k;
_root.startpos = _root.cols * i + k;
this.swapDepths(_root.startpos * 2 + 1);
}
k++;
}
i++;
}
}
_root.dir = 4;
_root.dirr = 0;
_root.dirc = -1;
_root.die = 0;
resetme = 0;
begin();
_root.life = 0;
}